package android.tusnotas.parser.version;

import android.tusnotas.beans.AppVersion;

import com.thoughtworks.xstream.XStream;

public class VersionXStream extends XStream {
	public VersionXStream (){
//		this.alias("VersionDTO", List.class);
		this.aliasType("VersionDTO", AppVersion.class);
		this.aliasField("EsObligatoria", AppVersion.class, "isMandatory");
		this.aliasField("FechaPublicacion", AppVersion.class, "releaseDate");
		this.aliasField("IsLatest", AppVersion.class, "isLatest");
		this.aliasField("LinkUltimaVersion", AppVersion.class, "linkLastVersion");
		this.aliasField("VersionCompatible", AppVersion.class, "compatibleVersion");
	}
}
